VT-d: fix MSI source-id of interrupt remapping
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 19 Jun 2009 07:45:55 +0000 (08:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 19 Jun 2009 07:45:55 +0000 (08:45 +0100)
commit476bbccc811ca7cd82195749a8846e94a4d56fb6
tree48dbe914a55374e20edfc8d5ac0c986216f7609b
parent575dd4a3efc5becee027bd17d0777d421f5e6e4f
VT-d: fix MSI source-id of interrupt remapping

This patch fixes an issue of MSI source-id. Currently MSI source-ids
are all set device bdf. It's incorrect for PCI (not PCIe) devices. The
patch set correct requester-ids of MSI to source-id. And also, wrap
functions to clean ioapic source-id.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/drivers/passthrough/vtd/intremap.c